import 'dart:collection';

class UserNotifySettingModel {
  String? allSwitch;
  String? matchNotify;
  String? clubDynamicNotify;
  String? praiseNotify;
  String? systemNotify;
  String? interestNotify;
  String? clubCheckNotify;

  UserNotifySettingModel(
      {this.allSwitch,
      this.matchNotify,
      this.clubDynamicNotify,
      this.praiseNotify,
      this.systemNotify,
      this.interestNotify,
      this.clubCheckNotify});

  UserNotifySettingModel.fromJson(Map<String, dynamic> json) {
    allSwitch = json['allSwitch'];
    matchNotify = json['matchNotify'];
    clubDynamicNotify = json['clubDynamicNotify'];
    praiseNotify = json['praiseNotify'];
    systemNotify = json['systemNotify'];
    interestNotify = json['interestNotify'];
    clubCheckNotify = json['clubCheckNotify'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = HashMap();
    data['allSwitch'] = allSwitch;
    data['matchNotify'] = matchNotify;
    data['clubDynamicNotify'] = clubDynamicNotify;
    data['praiseNotify'] = praiseNotify;
    data['systemNotify'] = systemNotify;
    data['interestNotify'] = interestNotify;
    data['clubCheckNotify'] = clubCheckNotify;
    return data;
  }
}